﻿using AutoMapper;
using HelenServer.FileStorage.Contracts;
using HelenServer.Grpc.Contracts;

namespace HelenServer.FileStorage.Services;

public class FastDFSGrpcProfile : Profile
{
    public FastDFSGrpcProfile()
    {
        this.CreateMap<UploadModel, UploadGrpcModel>().ReverseMap();
        this.CreateMap<DownloadModel, DownloadGrpcModel>().ReverseMap();
        this.CreateMap<NotifySpiderGrpcModel, NotifySpiderModel>().ReverseMap();       
    }
}